//
//  CustomerInfoDetail.m
//  Trading365
//
//  Created by Jason on 12-3-22.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "ChanceInfoDetail.h"

@implementation ChanceInfoDetail
@synthesize table;


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title=@"详细信息";
    
    NSArray *temp_array=[[NSArray alloc]initWithObjects: @"商机名称",@"客户",@"营销方式",@"发现时间",@"状态",@"创建人",@"创建时间",@"客户需求",nil];
    self.InfoListTitle=temp_array;
    [temp_array release];

     NSArray *temp_array2=[[NSArray alloc]initWithObjects:@"chance_name",@"t2_customer_name_cn",@"seek_mode",@"find_state",@"status",@"creator",@"create_time",@"customer_require", nil];
    self.InfoListName=temp_array2;
    [temp_array2 release];
    
}

- (void)viewDidUnload
{
    [self setTable:nil];
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

- (void)dealloc {
    [table release];
    [super dealloc];
}

#pragma mark - Table view data source
//

#pragma mark - Table view delegate
//

@end
